package com.yufu.camera.preview;

import androidx.annotation.IntDef;

public class CameraPreview {

  /**
   * 垂直方向 {@link #setOrientation(int)}
   */
  public static final int ORIENTATION_PORTRAIT = 0;
  /**
   * 水平方向 {@link #setOrientation(int)}
   */
  public static final int ORIENTATION_HORIZONTAL = 90;
  /**
   * 水平翻转方向 {@link #setOrientation(int)}
   */
  public static final int ORIENTATION_INVERT = 270;

  @IntDef({ORIENTATION_PORTRAIT, ORIENTATION_HORIZONTAL, ORIENTATION_INVERT})
  public @interface Orientation {
  }

}
